public class TestFor {
    public static void main(String[] args){
        /*int sum = 0;
        for(int i=0;i<101;i++){
            sum+=i;
        }
        System.out.println(sum);

        //输出9-1之间的数
        for (int i=9;i>0;i--){
            System.out.println(i);
        }
        //输出90-1之间能被3整除的数
        for(int i=90;i>0;i--){
            if (i%3==0){
                System.out.println(i);
            }
        }*/
        /*int evenSum=0,oddSum = 0;
        for (int i=1;i<=100;i++)
        {
            if (i%2==0) {
                evenSum += i;
            }else
                oddSum +=i;
        }
        System.out.println(evenSum);
        System.out.println(oddSum);*/
        int i = 0;
        while (i<=130){
            while (i%5!=0){
                System.out.print(i+"\t");
                i++;
            }
            System.out.print("\n" + i+"\t");
            i++;
        }
        System.out.println("\n"+"********************");
        //
        int j =0;
        while (j<=130){
            System.out.print(j+"\t");
            if ((j+1)%5==0&&j!=0){
                System.out.println();
            }
            j++;
        }
    }
}
